package com.stock.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("stock_profit_data")
public class StockProfitDataEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("业务日期")
    private String billDate;

    @ApiModelProperty("收益率")
    private String profitRate;

    @ApiModelProperty("逻辑删除")
    private Integer isDel = 0;

    public StockProfitDataEntity(String billDate,String profitRate) {
        this.billDate = billDate;
        this.profitRate = profitRate;
    }

}
